package com.gqz.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gqz.utils.UserTools;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 文章类型表
 */
@Data
@Table(name = "blog_article_type")
public class BlogArticleType implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键ID
    @Id
    private Long id;

    //文章类型名称
    @Column(name = "type_name")
    private String typeName;

    //状态(0:不可用;1:可用)
    @Column(name = "status")
    private Integer status;

    //最后更新人名称
    @Column(name = "update_user_name")
    private String updateUserName;

    //最后更新时间
    @Column(name = "update_time")
    private Date updateTime = new Date();

}
